package com.xci.core.setting;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 吕艳阳
 */
@Component
@ConfigurationProperties(prefix = "xci.dynamic-datasource")
public class DynamicDataSourceProperties {
    private boolean enabled;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
